

import Layout from '@/layout'

const donateRouter = {
  path: '/donate',
  component: Layout,
  redirect: '/donate/index',
  name: 'Donate',
  meta: {
    title: '捐赠管理',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/donate/donate/index'),
      name: 'UserIndex',
      meta: { title: '捐赠列表', icon: '' }
    },
    {
      path: 'source',
      component: () => import('@/views/donate/source/index'),
      name: 'Source',
      meta: { title: '捐赠来源', icon: '' }
    }
  ]
}

export default donateRouter
